const columns=[
    {
        label: "ID",
        field: "id",
        type: "number",
        isSort: true,
        orderBy: "desc",
        isId: true,
        isSearch: false,
        isEdit: false,
        isHide: true,
        searchSetting: {
        }
    },
    // 父id
    {
        label: "父ID",
        field: "parentId",
        type: "number",
        isSort: true,
        orderBy: "desc",
        isId: false,
        isSearch: false,
        isEdit: false,
        isHide: true,
        isNull: true,
        searchSetting: {
        }
    },
    {
        label: "优先级",
        field: "priority",
        type: "number",
        width: "100px",
        isSort: true,
        orderBy: "desc",
        isId: false,
        isSearch: false,
        isEdit: true,
        isAdd: true,
    },
    {
        label: "图标",
        field: "fileIdOfIcon",
        type: "img",
        width: "150px",
        isEdit: true,
        isSearch: false,
        isAdd: true,
        setting: {
            type: "id",
            groupCode: "goodsTypeIcon",
            width: "80px",
            height: "80px",
        }
    },
    {
        label: "名称",
        field: "name",
        type: "text",
        width: "200px",
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    // isShowInMobileIndex
    {
        label: "移动端首页显示",
        field: "isShowInMobileIndex",
        type: "enum",
        width: "200px",
        isEdit: true,
        isSearch: true,
        isAdd: true,
        enumList: [
            {
                label: "是",
                value: true
            },
            {
                label: "否",
                value: false
            }
        ]
    },
    {
        label: "创建时间",
        field: "gmtCreate",
        type: "datetime",
        width: "200px",
        isEdit: false,
        isSearch: false,
        isAdd: false,
    },
    // 修改时间
    {
        label: "修改时间",
        field: "gmtModified",
        type: "datetime",
        width: "200px",
        isEdit: false,
        isSearch: false,
        isAdd: false,
    },

]

export default columns